package com.yipei.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yipei.business.domain.MlInvestmentProductOrder;

import java.util.List;

/**
 * 投资产品订单Mapper接口
 *
 * @author yipei
 * @date 2025-07-14
 */
public interface MlInvestmentProductOrderMapper extends BaseMapper<MlInvestmentProductOrder>
{
    /**
     * 查询投资产品订单
     *
     * @param id 投资产品订单主键
     * @return 投资产品订单
     */
    public MlInvestmentProductOrder selectMlInvestmentProductOrderById(Long id);

    /**
     * 查询投资产品订单列表
     *
     * @param mlInvestmentProductOrder 投资产品订单
     * @return 投资产品订单集合
     */
    public List<MlInvestmentProductOrder> selectMlInvestmentProductOrderList(MlInvestmentProductOrder mlInvestmentProductOrder);

    /**
     * 新增投资产品订单
     *
     * @param mlInvestmentProductOrder 投资产品订单
     * @return 结果
     */
    public int insertMlInvestmentProductOrder(MlInvestmentProductOrder mlInvestmentProductOrder);

    /**
     * 修改投资产品订单
     *
     * @param mlInvestmentProductOrder 投资产品订单
     * @return 结果
     */
    public int updateMlInvestmentProductOrder(MlInvestmentProductOrder mlInvestmentProductOrder);

    /**
     * 删除投资产品订单
     *
     * @param id 投资产品订单主键
     * @return 结果
     */
    public int deleteMlInvestmentProductOrderById(Long id);

    /**
     * 批量删除投资产品订单
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMlInvestmentProductOrderByIds(Long[] ids);
}
